package com.jbm.onehome.iface;

import com.jbm.core.iface.IAcross;

/**
 * Created by root on 16-1-19.
 */
public class IOrder extends IAcross
{
    public IOrder ()
    {
        super();
    }

    public IOrder(IAcross ia)
    {
        super(ia);
    }

    public IOrder (String method, int order_id )
    {
        this();

        this.order_id = order_id;
    }

    public IOrder (String method, int order_id, int member_id, int seller_id, int caddr_id, String item_desc, String type, String status, String goods_code, int start, int count, String start_date, String end_date )
    {
        this();

        this.order_id = order_id;
        this.member_id = member_id;
        this.seller_id = seller_id;
        this.caddr_id = caddr_id;
        this.item_desc = item_desc;
        this.type = type;
        this.status = status;
        this.goods_code = goods_code;
    }

    public IOrder (String method, int member_id, int seller_id, int caddr_id, String item_desc, String type, String status, String goods_code, int qty, String amount, int sact_id )
    {
        this();

        this.member_id = member_id;
        this.seller_id = seller_id;
        this.caddr_id = caddr_id;
        this.item_desc = item_desc;
        this.type = type;
        this.status = status;
        this.goods_code = goods_code;
        this.qty = qty;
        this.amount = amount;
        this.sact_id = sact_id;
    }

    public IOrder (String method, int order_id, String com_desc, int com_speed_level, int com_quality_level, int com_attitude_level )
    {
        this();

        this.order_id = order_id;
        this.com_desc = com_desc;
        this.com_speed_level = com_speed_level;
        this.com_quality_level = com_quality_level;
        this.com_attitude_level = com_attitude_level;
    }

    public IOrder (String method, int order_id, int seller_id )
    {
        this();

        this.order_id = order_id;
        this.seller_id = seller_id;
    }

    public int order_id;
    public String order_code;
    public int member_id;
    public String member_name;
    public String seller_name;
    public int seller_id;
    public int caddr_id;
    public int sact_id;
    public String amount;
    public ICertAddress caddr;
    public String item_desc;
    public String type;
    public String status;
    public String create_date;
    public int create_id;
    public String expire_date;
    public String close_date;
    public int close_id;

    public String goods_code;

    public String com_desc;
    public int com_speed_level;
    public int com_quality_level;
    public int com_attitude_level;

    public int qty;

    public int is_inner;

    public String ordertime;

    public IAttachment[] ord_att;
    public IAttachment[] jord_att;
}
